package com.mswork.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mswork.common.annotation.Excel;
import com.mswork.common.core.domain.BaseEntity;

/**
 * 图片对象 tb_images
 *
 * @author ruoyi
 * @date 2025-03-12
 */
public class Images extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID（自增） */
    private Long imageId;

    /** 关联ID */
    @Excel(name = "关联ID")
    private Long sourceId;

    /** 照片类型 */
    @Excel(name = "照片类型")
    private String imageType;

    /** 照片路径 */
    @Excel(name = "照片路径")
    private String filePath;

    /** 排序 */
    @Excel(name = "排序")
    private Long imageRank;

    /** 0无效,1有效 */
    private Long status;

    public void setImageId(Long imageId)
    {
        this.imageId = imageId;
    }

    public Long getImageId()
    {
        return imageId;
    }
    public void setSourceId(Long sourceId)
    {
        this.sourceId = sourceId;
    }

    public Long getSourceId()
    {
        return sourceId;
    }
    public void setImageType(String imageType)
    {
        this.imageType = imageType;
    }

    public String getImageType()
    {
        return imageType;
    }
    public void setFilePath(String filePath)
    {
        this.filePath = filePath;
    }

    public String getFilePath()
    {
        return filePath;
    }
    public void setImageRank(Long imageRank)
    {
        this.imageRank = imageRank;
    }

    public Long getImageRank()
    {
        return imageRank;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("imageId", getImageId())
                .append("sourceId", getSourceId())
                .append("imageType", getImageType())
                .append("filePath", getFilePath())
                .append("imageRank", getImageRank())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("status", getStatus())
                .toString();
    }
}
